MouseModifiers

public interface MouseModifiers

The modifiers for the mouse events. Indicates which mouse buttons are pressed.

Types

Link copied to clipboard
public final class Builder
A builder of MouseModifiers.

Functions

Link copied to clipboard
public boolean isMiddleButtonDown()
Returns true if the middle mouse button is pressed.
Link copied to clipboard
public boolean isPrimaryButtonDown()
Returns true if the primary mouse button is pressed.
Link copied to clipboard
public boolean isSecondaryButtonDown()
Returns true if the secondary mouse button is pressed.
Link copied to clipboard
Creates a new MouseModifiers builder.